package com.anjubao.parking.municipal.parkinglot.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author anjubao
 * 条件筛选from
 */
@Data
@ApiModel(value = "ParkingLotSlotScreeningForm", description = "搜索泊位信息")
@ToString
public class ParkingLotSlotScreeningForm {

    @ApiModelProperty(value = "泊位名称")
    private String name;

    @ApiModelProperty(value = "停车场所在区域id",name = "districtId")
    private Integer parkingLotDistrictId;

    @ApiModelProperty(value = "车场类型 1:封闭式,2:路内")
    private Integer parkingLotType;

    @ApiModelProperty(value = "预约状态 0:不可预约,1:可预约")
    private Integer isCanReserve;

    @ApiModelProperty(value = "停车场所在省份id",name ="provinceId" )
    @NotNull(message = "停车场所在省份不能为空")
    private Integer parkingLotProvinceId;

    @ApiModelProperty(value = "停车场所在城市id",name = "cityId")
    @NotNull(message = "停车场所在城市不能为空")
    private Integer parkingLotCityId;

    public void setDistrictId(Integer parkingLotDistrictId) {
        this.parkingLotDistrictId = parkingLotDistrictId;
    }

    public void setProvinceId(Integer parkingLotProvinceId) {
        this.parkingLotProvinceId = parkingLotProvinceId;
    }

    public void setCityId(Integer parkingLotCityId) {
        this.parkingLotCityId = parkingLotCityId;
    }



}
